package com.dcits.idea.processor;

import com.dcits.idea.data.NodeData;

import java.util.List;

/**
 * @Author tangmqb DCITS
 * @DATE 2021/11/4 15:25
 * @Version 1.0.0
 */
public class DefaultDataNode implements SourceDataNode {
    private String filePath;
    private String topic;
    private List<NodeData> nodeDataList;

    public DefaultDataNode(String filePath, String topic, List<NodeData> nodeDataList) {
        this.filePath = filePath;
        this.topic = topic;
        this.nodeDataList = nodeDataList;
    }

    @Override
    public String getFilePath() {
        return filePath;
    }

    @Override
    public String getTopic() {
        return topic;
    }

    @Override
    public List<NodeData> getNodeDataList() {
        return nodeDataList;
    }
}
